<?php /* Smarty version 2.6.16, created on 2009-04-26 00:25:39
         compiled from MyVideos.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'MyVideos.html', 5, false),array('function', 'url', 'MyVideos.html', 20, false),array('function', 'img', 'MyVideos.html', 22, false),array('modifier', 'truncate', 'MyVideos.html', 35, false),array('modifier', 'escape', 'MyVideos.html', 35, false),array('modifier', 'clean', 'MyVideos.html', 35, false),)), $this); ?>
<div class="border2" height:200px;">
<table style="width:100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
<tr>
	<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
	<td class="block_header"><?php if ($this->_tpl_vars['sType'] == 'profile'):  echo smarty_function_language(array('text' => 'Mod_Video.my_video_title'), $this); else:  echo $this->_tpl_vars['aDetail']['user']; ?>
's <?php echo smarty_function_language(array('text' => 'Mod_Video.page_video_title'), $this); endif; ?></td>
</tr>
</table>
<table style="width:100%; margin:auto;" cellpadding="8" cellspacing="0">
<tr>
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
<td style="text-align:center; vertical-align;top;">
    <table style="margin-left:auto;margin-right:auto;vertical-align;top;">
    <tr>
    <td>
	<div class="wrap1">
		<div class="wrap2">
        	<div class="wrap3">
            	<div class="wrap4">
                	<div class="wrap5">
                		<a href="<?php echo smarty_function_url(array('link' => 'public.videos','id' => $this->_tpl_vars['aItem']['vid_id'],'foxseotitle' => $this->_tpl_vars['aItem']['vid_title']), $this);?>
">
                		<?php if ($this->_tpl_vars['sType'] == 'profile'): ?>
                		<?php echo smarty_function_img(array('max_width' => '60','src' => ($this->_tpl_vars['sGImageUrl']).($this->_tpl_vars['aItem']['vid_id']).".jpg",'src_def' => "design/pic/noimage_120.jpg",'alt' => ""), $this);?>

                		<?php else: ?>
						<?php echo smarty_function_img(array('max_width' => '40','src' => ($this->_tpl_vars['sGImageUrl']).($this->_tpl_vars['aItem']['vid_id']).".jpg",'src_def' => "design/pic/noimage_75.jpg",'alt' => ""), $this);?>

						<?php endif; ?>
						</a>
					 </div>
					</div>
				</div>
			</div>
		</div>
	</td>
	</tr>
	</table>
	<a href="<?php echo smarty_function_url(array('link' => 'public.videos','id' => $this->_tpl_vars['aItem']['vid_id'],'foxseotitle' => $this->_tpl_vars['aItem']['vid_title']), $this);?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['vid_title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, '20') : smarty_modifier_truncate($_tmp, '20')))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
</a>
</td>
<?php if ($this->_tpl_vars['key'] % 3 == 2): ?> 
</tr>
<tr>
<?php if (($this->_foreach['aitems']['iteration'] == $this->_foreach['aitems']['total']) == true): ?>
<td></td>
<?php endif; ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<div style="padding:8px;text-align:right;">
	<a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.user.videos','name' => $this->_tpl_vars['aDetail']['user']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'Mod_Video.view_my_videos'), $this);?>
 ]</a>
</div>
</tr>
</table>
</div>
<br />